package com.qyhl.webtv.module_news.news.goodlife;


import com.qyhl.webtv.commonlib.entity.news.NewsBean;

import java.util.List;

/**
 * Created by qyhl on 2017/11/24.
 */

public interface GoodLifeContract {
    interface GoodLifeView {
        void headError();

        void headSuccess(List<NewsBean> beanList);

        void bodyError(String msg);

        void bodyEmpty(String msg);

        void bodyNetError(String msg);

        void bodySuccess(List<NewsBean> beanList);
    }

    interface GoodLifePresenter {
        void getHeaderData();

        void getBodyData();

        void headError();

        void headSuccess(List<NewsBean> beanList);

        void bodyError(int code, String msg);

        void bodySuccess(List<NewsBean> beanList);
    }

    interface GoodLifeModel {
        void getHeaderData();

        void getBodyData();
    }
}

